<template>
    <div>
        <table class="table_detail" >
            <tr class="" v-for="(v,i) in cText" :key="i">
                <td class="headColor"> <span class="flow">{{ v.text1 }}</span></td>
                <td><span class="flow">{{ cData[cCol[i].name1] }}</span></td>
                <template v-if="v.text2">
                    <td class="headColor"><span class="flow">{{ v.text2 }}</span></td>
                    <td><span class="flow">{{ cData[cCol[i].name2] }}</span></td>
                </template>
            </tr>                                                                                          
        </table>
    </div>
</template>

<script>
    export default {
        props:{
            cText:'',
            cData:'',
            cCol:'',
        },
        data() {
            return {
            
            }
        },
        created() {
            
           setTimeout(()=> {

           })
        }
    }
</script>

<style lang="scss" scoped>

</style>